package com.itheima.mapper;

import com.itheima.pojo.Page;
import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface Ksmapper {
    List<User> list(Page page);
@Select("select * from user where username=#{username} and password=#{password}")
    User login(User user);
}
